package view.backend.user;

import javax.swing.*;

/**
 * 
 * @author Sonny Sandberg
 */
public class AdminUser
{
    private JPanel adminUserPanel;
    private AdminUserName adminUserName;
    private AdminUserList adminUserList;

    public AdminUser()
    {
        adminUserPanel = new JPanel(null);
        adminUserPanel.setBounds(395, 320, 650, 500);
        adminUserPanel.setOpaque(false);
        
        adminUserName = new AdminUserName(this);
        adminUserList = new AdminUserList(this);
        
        adminUserPanel.add(adminUserName.getPanel());
        adminUserPanel.add(adminUserList.getPanel());
        adminUserPanel.setVisible(false);
    }

    public AdminUserName getAdminUserName()
    {
        return adminUserName;
    }

    public AdminUserList getAdminUserList()
    {
        return adminUserList;
    }

    public JPanel getPanel()
    {
        return adminUserPanel;
    }
}